
package com.timber.util;

import javax.swing.*;
import javax.swing.text.*;
import java.awt.event.*;


public class UpperCaseField extends JTextField
{
  public UpperCaseField()
  {
    super();
  }

  public UpperCaseField( String text )
  {
    super( text );
  }

  public UpperCaseField( int columns )
  {
    super( columns );
  }

  public UpperCaseField( String text, int columns )
  {
    super( text, columns );
  }

  protected Document createDefaultModel()
  {
    return new UpperCaseDocument();
  }

  /**
   **  Gives public access to normal text field's fireActionPerformed method
   */
  public void doActionPerformed()
  {
    fireActionPerformed();
  }
}
